package com.ruoyi.celoan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

@TableName("ex_trade_effect_policies_detail")
public class ExTradeEffectPoliciesDetailEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long platformId;
    private String title;
    private String source;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String releaseTime;
    @TableField(exist = false)
    private int result;

    public void setId(Long id) {
        this.id = id;
    }

    private String province;
    private String city;
    private String area;
    private String externalSystemId;
    private String areaCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String loadTime;
    private Integer isflag;

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setExternalSystemId(String externalSystemId) {
        this.externalSystemId = externalSystemId;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public void setLoadTime(String loadTime) {
        this.loadTime = loadTime;
    }

    public void setIsflag(Integer isflag) {
        this.isflag = isflag;
    }

    public String toString() {
        return "ExTradeEffectPoliciesDetailEntity(id=" + getId() + ", platformId=" + getPlatformId() + ", title=" + getTitle() + ", source=" + getSource() + ", content=" + getContent() + ", releaseTime=" + getReleaseTime() + ", province=" + getProvince() + ", city=" + getCity() + ", area=" + getArea() + ", externalSystemId=" + getExternalSystemId() + ", areaCode=" + getAreaCode() + ", loadTime=" + getLoadTime() + ", isflag=" + getIsflag() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof ExTradeEffectPoliciesDetailEntity)) return false;
        ExTradeEffectPoliciesDetailEntity other = (ExTradeEffectPoliciesDetailEntity) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$platformId = getPlatformId(), other$platformId = other.getPlatformId();
        if ((this$platformId == null) ? (other$platformId != null) : !this$platformId.equals(other$platformId))
            return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$source = getSource(), other$source = other.getSource();
        if ((this$source == null) ? (other$source != null) : !this$source.equals(other$source)) return false;
        Object this$content = getContent(), other$content = other.getContent();
        if ((this$content == null) ? (other$content != null) : !this$content.equals(other$content)) return false;
        Object this$releaseTime = getReleaseTime(), other$releaseTime = other.getReleaseTime();
        if ((this$releaseTime == null) ? (other$releaseTime != null) : !this$releaseTime.equals(other$releaseTime))
            return false;
        Object this$province = getProvince(), other$province = other.getProvince();
        if ((this$province == null) ? (other$province != null) : !this$province.equals(other$province)) return false;
        Object this$city = getCity(), other$city = other.getCity();
        if ((this$city == null) ? (other$city != null) : !this$city.equals(other$city)) return false;
        Object this$area = getArea(), other$area = other.getArea();
        if ((this$area == null) ? (other$area != null) : !this$area.equals(other$area)) return false;
        Object this$externalSystemId = getExternalSystemId(), other$externalSystemId = other.getExternalSystemId();
        if ((this$externalSystemId == null) ? (other$externalSystemId != null) : !this$externalSystemId.equals(other$externalSystemId))
            return false;
        Object this$areaCode = getAreaCode(), other$areaCode = other.getAreaCode();
        if ((this$areaCode == null) ? (other$areaCode != null) : !this$areaCode.equals(other$areaCode)) return false;
        Object this$loadTime = getLoadTime(), other$loadTime = other.getLoadTime();
        if ((this$loadTime == null) ? (other$loadTime != null) : !this$loadTime.equals(other$loadTime)) return false;
        Object this$isflag = getIsflag(), other$isflag = other.getIsflag();
        return !((this$isflag == null) ? (other$isflag != null) : !this$isflag.equals(other$isflag));
    }

    protected boolean canEqual(Object other) {
        return other instanceof ExTradeEffectPoliciesDetailEntity;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $platformId = getPlatformId();
        result = result * 59 + (($platformId == null) ? 43 : $platformId.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $source = getSource();
        result = result * 59 + (($source == null) ? 43 : $source.hashCode());
        Object $content = getContent();
        result = result * 59 + (($content == null) ? 43 : $content.hashCode());
        Object $releaseTime = getReleaseTime();
        result = result * 59 + (($releaseTime == null) ? 43 : $releaseTime.hashCode());
        Object $province = getProvince();
        result = result * 59 + (($province == null) ? 43 : $province.hashCode());
        Object $city = getCity();
        result = result * 59 + (($city == null) ? 43 : $city.hashCode());
        Object $area = getArea();
        result = result * 59 + (($area == null) ? 43 : $area.hashCode());
        Object $externalSystemId = getExternalSystemId();
        result = result * 59 + (($externalSystemId == null) ? 43 : $externalSystemId.hashCode());
        Object $areaCode = getAreaCode();
        result = result * 59 + (($areaCode == null) ? 43 : $areaCode.hashCode());
        Object $loadTime = getLoadTime();
        result = result * 59 + (($loadTime == null) ? 43 : $loadTime.hashCode());
        Object $isflag = getIsflag();
        return result * 59 + (($isflag == null) ? 43 : $isflag.hashCode());
    }

    public Long getId() {
        return this.id;
    }

    public Long getPlatformId() {
        return this.platformId;
    }

    public String getTitle() {
        return this.title;
    }

    public String getSource() {
        return this.source;
    }

    public String getContent() {
        return this.content;
    }

    public String getReleaseTime() {
        return this.releaseTime;
    }

    public String getProvince() {
        return this.province;
    }

    public String getCity() {
        return this.city;
    }

    public String getArea() {
        return this.area;
    }

    public String getExternalSystemId() {
        return this.externalSystemId;
    }

    public String getAreaCode() {
        return this.areaCode;
    }

    public String getLoadTime() {
        return this.loadTime;
    }

    public Integer getIsflag() {
        return this.isflag;
    }
}


/* Location:              D:\tuodayun\workspace\work\celoan-third-data-report-service-2.0.0-SNAPSHOT.jar!\BOOT-INF\classes\com\celoan\entity\ExTradeEffectPoliciesDetailEntity.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */
